AMD/IOMMU: pass IOMMU to amd_iommu_alloc_intremap_table()
authorJan Beulich <jbeulich@suse.com>
Mon, 22 Jul 2019 10:06:10 +0000 (12:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Jul 2019 10:06:10 +0000 (12:06 +0200)
commit01dc6aa94246a2e4519726552b06ac1fe4e6d31a
treebe9ac6d23871dc51fbea8e220435c14ba86b7076
parent4e8e9875622cbdb24469c43ca5f08f83dc59bbca
AMD/IOMMU: pass IOMMU to amd_iommu_alloc_intremap_table()

The function will want to know IOMMU properties (specifically the IRTE
size) subsequently.

Correct indentation of one of the call sites at this occasion.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Brian Woods <brian.woods@amd.com>
xen/drivers/passthrough/amd/iommu_acpi.c
xen/drivers/passthrough/amd/iommu_intr.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h